Jigoshop\Entity\Product\Simple S

Total Complexity 41
Dependencies 5
Dependents 8
Total lines 253
Lines of code 138
Logical lines of code 80
Comment lines 61
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
restoreState()
A
46 15 37
calculatePrice()
S
55 7 18
getStateToSave()
S
52 4 24
setSales()
S
68 2 7
setStock()
S
68 2 7
__construct()
S
72 1 5
getType()
S
81 1 3
getPrice()
S
79 1 3
getStock()
S
82 1 3
getRegularPrice()
S
82 1 3
setRegularPrice()
S
76 1 4
getSales()
S
82 1 3
markAsDirty()
S
73 1 5
getState()
S
71 1 6
isShippable()
S
82 1 3
jsonSerialize()
S
68 1 7